Query by Form Search Syntax
Description
The Search Part in the Grid can be configured to allow Query by Form (QBF) syntax.
Discussion
Query by Form (or QBF) is a search style that uses operators that can be used to create more robust search criteria (e.g. all records after 1/1/2017 or all records that match a range.) QBF operators work with dates, numbers, and characters. The complete list of QBF operators is shown below:
Operator | Example | Meaning |
---|---|---|
= | =alpha | equals 'alpha' |
> | >10 | greater than 10 |
<= | <= 12/18/1952 3:23 PM | less than or equal to 12/18/1952 |
< | <10 | less than 10 |
<= | <=23 | less than or equal to 23 |
!= | !=alpha | not equal to 'alpha' |
value1..value2 | alpha..beta | values that are >= 'alpha' and <= 'beta'. If the field you are searching is a time field (which has a date and time portion), and you omit the time part from value2, Alpha Anywhere will automatically add a time part of 23:59:59 PM to the timer part. |
..value2 | ..12/1/2008 | values that are less than or equal to 12/1/2008. Note: If the field you are searching is a time field, and you omit the time part, Alpha Anywhere will automatically search for values less than or equal to '12/1/2008 23:59:59 pm' |
value1.. | 23.. | values that are greater than or equal to 23 |
Is blank | Is blank | Values that are blank or null. (To omit null values use = '' instead of 'Is blank') |
Is not blank | Is not blank | Values that are not blank or null. |
Is null | Is null | Values that are null (SQL databases only) |
Is not null | Is not null | Values that are not null (SQL databases only) |
value1,value2,value3 | alpha,beta,gamma | values that are 'alpha' or 'beta' or 'gamma' |